<?php /* Smarty version 2.6.18, created on 2016-12-17 17:23:54
         compiled from homework/homework.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-md-12">
          <div class="box box-primary">
            <div class="box-header with-border">
              <span class="fa fa-edit" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;"></span>
              <h3 class="box-title">布置作业</h3>
              <a href="index.php?a=homework.add&staff_id=<?php echo $this->_tpl_vars['staff_id']; ?>
" class="btn btn-primary btn-sm" style="float:right;">新 增</a>
            </div>
             <div class="box-body">
                <table class="table table-bordered table-striped">
                    <tr>
                        <td>班级</td>
                        <td>学科</td>
                        <td>日期</td>
                        <td>作业内容</td>
                        <td width="100">操作</td>
                    </tr>
                   <?php $_from = $this->_tpl_vars['homework_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                     <tr>
                        <td><a href="index.php?a=homework.info&homework_id=<?php echo $this->_tpl_vars['value']['homework_id']; ?>
"><?php echo $this->_tpl_vars['value']['class_name']; ?>
</a></td>
                        <td><?php echo $this->_tpl_vars['value']['subject_name']; ?>
</td>
                        <td><?php echo $this->_tpl_vars['value']['homework_date']; ?>
</td>
                        <td><?php echo $this->_tpl_vars['value']['homework_content']; ?>
</td>
                        <td>
                            <a href="index.php?a=homework.update&homework_id=<?php echo $this->_tpl_vars['value']['homework_id']; ?>
" class="btn btn-warning btn-xs">修 改</a>
                        </td>
                    </tr>
               <?php endforeach; endif; unset($_from); ?>
                </table>
          </div>
          <!-- /. box body-->
             <div class="box-footer">
              <?php echo $this->_tpl_vars['page']; ?>

              </div>
          </div>
	    </div><!--box box-primary-->
        <!-- /.col -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
 <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>